Skip to content

ReactiveList.Move(int, int) method

Defined in

Type: ReactiveList Namespace: ReactiveList.Reactive.Collections Assembly: ReactiveList.Reactive.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

public void Move(int oldIndex, int newIndex)

View source (opens in a new tab)

Summary: Moves an item from one index to another.

Parameters

NameTypeDescription
oldIndexint (opens in a new tab)The current index of the item.
newIndexint (opens in a new tab)The new index for the item.

Exceptions

TypeCondition
System.ArgumentOutOfRangeException (opens in a new tab)Thrown when either index is outside the list.